package cn.hy.service;

import cn.hy.dto.UserDto;
import cn.hy.vo.GoodsVo;
import cn.hy.vo.SecKillGoodsVo;

public interface SecKillService {
    void secKill(UserDto userDto, GoodsVo goodsVo);
    boolean checkPath(String nickname, Long goodsId, String path);
    Long getSecKillResult(Long userId, Long goodsId);
    boolean checkVerifyCode(Long userId, Long goodsId,Integer verifyCode);
    String createSecKillPath(String nickname, Long goodsId);
}
